<script setup lang="ts">
    import { toRefs } from 'vue';
    // 属性
    let props = defineProps({
        title: {
            type: String,
            default: '侧边栏名称'
        }
    });
    let { title } = toRefs(props)
</script>
<template>
   <div class="sideTab">
        <div class="sideTab-title">
            {{ title }}
        </div>
        <slot name="content"></slot>
   </div>
</template>